﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YS.K12.Application.IoT.Service.Dto
{
    public class RsResult<T>
    {
        public bool IsSucess { get; set; }
        public string? ErrorCode { get; set; }
        public string? ErrorMessage { get; set; }
        public T? Data { get; set; }
    }
    public class UnifyResult<T>
    {
        public int Code { get; set; }
        public string? Type { get; set; }
        public string? Message { get; set; }
        public T? Result { get; set; }
    }
}
